@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  // height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

@media screen and (max-width: 1200px) {
  .app-container{
    max-width: 1000px;
  }
}
@media screen and (min-width: 1200px) {
  .app-container{
    max-width: 98%;
  }
}
//main-container全局样式
.app-container {
  width: 98%;
  
  padding:16px 20px;
  box-sizing: border-box;
  background: #fff;
  margin-left: 16px;
  border-radius: 8px;
  margin-top: 16px;
  min-height: 86vh;
  max-height: 100%;

  .el-form-item__label {
    // width: fit-content !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #131313 !important;
    // margin-right: 5px !important;
    // margin-top: 3px;
  }

  .el-form .el-input__inner {

    height: 32px !important;
    border: 1px solid #d9d9d9 ;
    border-radius: 6px !important;

  }

  .el-input__icon {
    margin-right: 10px !important;
  }


  .el-form {
    .el-form-item{
      margin-bottom: 18px;
    }
    .el-form-item--mini .el-form-item__label{
      line-height: 32px;
    }
    // .el-button--mini {
    //   width: 110px !important;
    //   height: 38px !important;

    //   font-size: 14px !important;
    //   font-weight: 500 !important;
    // }
  }

  .mb8 {
    margin-bottom: 20px !important;

    .top-right-btn {
      display: none !important;
    }

    .el-button--mini {
      width: 120px !important;
      height: 38px !important;
      font-size: 14px !important;
      font-weight: 500 !important;

    }
  }

  .el-table__cell {
    font-size: 14px !important;

    .el-button--mini {
      font-size: 14px !important;

    }
  }
}
.el-button--mini{
  border-radius: 6px;
  // padding: 9px 16px !important;
}
.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}


// .el-table tr {
//   height: 60px;
// }


.el-table th.el-table__cell.is-leaf {
  // border: none;
  background: #F4F5F7;
  font-weight: bold;
  color: #000000;
  position: relative;
}

.el-table__row>td {
  border-bottom: 1px solid #FAF9FE;
  // font-weight: 600;
  // color: #1A1A1A;
}

.el-table__row:hover>td {
  background: #fff !important;
}

.el-table__body tr.current-row>td.el-table__cell {
  background-color: #FFF !important;
}

.is-hidden {
  background-color: #FFF !important;
}

.el-dialog {
  position: relative;
  // top: 200px !important;
}
// .el-table__empty-block{
//   border: 0 !important;
//   display: none !important;
// }
/* 覆盖 Element UI 的 tooltip 样式 */
.el-tooltip__popper {
  // background-color: #f90 !important; /* 自定义背景颜色 */
  // color: #fff !important; /* 自定义文本颜色 */
  // border: 1px solid #f90 !important; /* 自定义边框颜色 */
  // /* 其他需要覆盖的样式 */
  max-width: 40% !important;
}
// OA table 样式
.textL{
  text-align: left;
}
.textR{
  text-align: right;
}
.querybox{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  .el-form-item--mini.el-form-item{
    margin-bottom:14px !important
    
  }
  .mr-0{
    margin-right: 0px !important;
  }
}
.fixedtit{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 52px;
  border-bottom: 1px solid #e8e8e8;
  .titlehaha{
    line-height: 52px;
    padding-left: 24px;
    font-size: 16px;

  }

}
.el-form-item__error{
  top:99% !important;
}
